Graph Mapping Code
from
README
write later